Question and Answers Forum

All Questions      Topic List

Algebra Questions

Previous in All Question      Next in All Question      

Previous in Algebra      Next in Algebra      

Question Number 69276 by mr W last updated on 22/Sep/19

f(x)=Σ_(k=1) ^n ∣x+k∣  (1) find the values of x such that f(x)   is minumum.  (2) fund the roots of f(x)−m=0    as example you can set n=100, m=2500.

f(x)=nk=1x+k(1)findthevaluesofxsuchthatf(x)isminumum.(2)fundtherootsoff(x)m=0asexampleyoucansetn=100,m=2500.

Commented by Prithwish sen last updated on 22/Sep/19

I tink  f(x) will be minimum if we shift the origin   to the −A            where A= mean of 1,2,3,4.........n  ∴ x= −((n+1)/2)   f(x)= ∣−((n+1)/2) +1∣.............∣−((n+1)/2) +n∣          =     Now if we take n =100  then f(x) =99+97+95+.......5+3+1=50^2 =2500  2)  Now the root of f(x) for m=2500  f(−50.5)−2500=0   i.e the root of f(x)−m is x=−50.5

Itinkf(x)willbeminimumifweshifttheorigintotheAwhereA=meanof1,2,3,4.........nx=n+12f(x)=n+12+1.............n+12+n=Nowifwetaken=100thenf(x)=99+97+95+.......5+3+1=502=25002)Nowtherootoff(x)form=2500f(50.5)2500=0i.etherootoff(x)misx=50.5

Commented by Prithwish sen last updated on 23/Sep/19

Thank you sir. I was egarly waiting for your  valuable suggestion.

Thankyousir.Iwasegarlywaitingforyourvaluablesuggestion.

Commented by mr W last updated on 22/Sep/19

thanks alot sir!  you are generally right. but we can be  more exact:  since the curve of f(x) is a kind of  folded line, we can say:   if n is odd, then f(x)_(min)  is at x=−((n+1)/2),  and if n is even, then f(x)_(min)  is when  x∈[−((n/2)+1),−(n/2)].

thanksalotsir!youaregenerallyright.butwecanbemoreexact:sincethecurveoff(x)isakindoffoldedline,wecansay:ifnisodd,thenf(x)minisatx=n+12,andifniseven,thenf(x)miniswhenx[(n2+1),n2].

Terms of Service

Privacy Policy

Contact: info@tinkutara.com