Many microorganisms utilize their flagella, which are hair-like appendages, to swim in fluid environments. The research of locomotion of flagellated microorganisms involves the study of flagella's behaviors. Since flagellated microorganisms swim by propelling their flagella through liquid environment, the propulsion of flagella plays a key role in hydrodynamics of the swimmers. In reality, the microorganisms are constantly subjected to flows and other external forces during swimming. Therefore, it is very important to understand how behaviors of the flagella contribute to the swimming in the presence of flow and external forces. In this thesis, I investigate the behavior of helically flagellated bacteria in external force field as well as the shape of a flagellum in shear flow.First, I present a model to analyze the effect of dielectrophoretic (DEP) force on a swimming helically flagellated bacterium, particularly on its swimming direction and velocity. I consider simple DEP force that is acting along X-direction, and the force's strength varies with Y-positions. Both DEP force and rotational diffusion are considered when analyzing the swimming of the bacterium. In most cases, DEP force is main factor that determines the steady swimming orientation of the bacterium; however, the impact of rotational diffusion is more significant when the DEP force's strength varies strongly in the Y-direction. Interestingly, the variation in DEP force's strength in the Y-direction causes the bacterium to translate perpendicular to its primary axis. This phenomenon is the consequence of the interaction between helical shape of the flagellum and the external force, and it could be applied to focus the bacteria. The model developed here would contribute to our knowledge on how external force affects the swimming behavior of flagellated bacteria, emphasizing on the interaction between the helical geometry of the flagellum and the external force. Polar, azimuthal angles (2 typical Euler angles) DR Rotational diffusivity c Probability of an orientation of the bacterium C0, C1, C2 Coefficients that determine components of DEP force Angle resulted from competition between DEP and diffusion 4 W, H Width, height of a microchannel Shear rate VT, VN Velocities in the tangential and normal direction t, n Unit vectors parallel and perpendicular to the flagellar segment EI Flexural rigidity of the flagellum Vrel, Vswim, Vwiggling Relative, swimming, and wiggling velocities Sp Sperm number Z Dimensionless shear rate y(s) Shape of the beating flagellum xvii Contents Abstract ....