# Electric field of a wire segment

This is a solved example in Griffith's book.
Question: Find the electirc field a distance 'z' above the midpoint of a straight line segment of length 2L, which carries uniform charge $\lambda$

Solution: Let me work out the steps and show you where my problem is(I have avoided showing some of the steps).
The coordinate axis has been set up taking the midpoint of the wire as the origin. Magnitude of the electric field is given by:
$$E = \frac{1}{4\pi \epsilon_0} \int_{0}^{L} \frac{2\lambda z}{(z^2 + x^2)^{3/2}} dx$$

HERE, Griffith has not elaborated the evauation of the integral under the bracket and directly given the solution. I have tried my level best to solve it but couldn't suceed. So can someone show me the intermediate steps involved in evaluating the integral:
$$\int_{0}^{L}\frac{1}{(z^2 + x^2)^{3/2}} dx$$ ($\lambda$ & z are constants)

For your convenience, the final solution is:
$$E = \frac{1}{4\pi \epsilon_0} [\frac{2\lambda L}{z\sqrt{z^2 + L^2}}]$$

Related Introductory Physics Homework Help News on Phys.org
to deal with the integral $$\int \frac{1}{(z^2+x^2)^{3/2}} dx$$
try putting $$x = z \tan\theta$$

and using the identity $$1+\tan^2\theta = \sec^2\theta$$

Kelvin said:
to deal with the integral $$\int \frac{1}{(z^2+x^2)^{3/2}} dx$$
try putting $$x = z \tan\theta$$

and using the identity $$1+\tan^2\theta = \sec^2\theta$$
Thank you for the guidance. Here is my evalution of the integral:
$$\int_{0}^{L} \frac{z^2\sec^2 \theta d\theta}{({z^2\tan^2 \theta +z^2})^{3/2}}$$
$$= \frac{1}{z^2} \int_{0}^{L} \cos \theta d\theta$$
$$= \frac{1}{z^2} [\sin \theta] \mid_{0}^{L}$$
$$= \frac{1}{z^2} \frac{x}{\sqrt{z^2 + x^2}} \mid_{0}^{L}$$
$$=\frac{1}{z^2} \frac{L}{\sqrt{z^2 + L^2}}$$

Sticking to the original question, electric field is:

$$E = \frac{1}{4\pi \epsilon_0} [\frac{2\lambda L}{z\sqrt{z^2 + L^2}}]$$
How will the formula be modified if $L\rightarrow \infty$

Doc Al
Mentor
Consider that $$\sqrt{z^2 + L^2} = L \sqrt{1 + (z/L)^2}$$

Now can you see what happens when $L\rightarrow \infty$ ?

Doc Al said:
Consider that $$\sqrt{z^2 + L^2} = L \sqrt{1 + (z/L)^2}$$

Now can you see what happens when $L\rightarrow \infty$ ?
Wow!! Thanks Doc Al .

$$E = \frac{1}{4\pi \epsilon_0} [\frac{2\lambda L}{z L\sqrt{1 + (z/L)^2}}]$$

So,$(z/L)^2\rightarrow 0$

Hence,
$$E = \frac{2\lambda}{4\pi \epsilon_0 z}$$

xts
Please note, that the solution in a limit of L→∞ is nonphysical. The total charge of such system is infinite. That leads to another singularity: the electrostatic potential at any point of the space is also infinite.
$\varphi(z)=\int_{z}^{\infty}E(\zeta)d\zeta=\infty$
{"ft_lang_label":"__label__en","ft_lang_prob":0.8140768,"math_prob":0.99999654,"size":2005,"snap":"2020-45-2020-50","text_gpt3_token_len":601,"char_repetition_ratio":0.10694653,"word_repetition_ratio":0.9377049,"special_character_ratio":0.3032419,"punctuation_ratio":0.0625,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000075,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-28T23:06:24Z\",\"WARC-Record-ID\":\"<urn:uuid:cfcc4515-276a-4167-a871-72292d921858>\",\"Content-Length\":\"83605\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8a54532a-3cfa-4dff-a54e-f392476adc2a>\",\"WARC-Concurrent-To\":\"<urn:uuid:b9510976-08fc-435a-91a6-eb1abbd9e031>\",\"WARC-IP-Address\":\"23.111.143.85\",\"WARC-Target-URI\":\"https://www.physicsforums.com/threads/electric-field-of-a-wire-segment.75827/\",\"WARC-Payload-Digest\":\"sha1:ENYKFP6LQTYHJ4YRKQEODMVOGE4U4A4J\",\"WARC-Block-Digest\":\"sha1:RHEN53EHBMKL7NTUP7WAQO6B2HG2FEHF\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107902038.86_warc_CC-MAIN-20201028221148-20201029011148-00372.warc.gz\"}"}