# Calculus- Area between two curves (minimize it)

• I
Sidd
Hi,

This is my first question here, so please apologise me if something is amiss.
I have two curves such that Wa = f(k,Ea,dxa) and Wb = f(k,Eb,dxb). I need to minimize the area between these two curves in terms of Eb in the bounded limit of k=0 and k=pi/dx. So to say, all the variables can assume any value, and then I can only alter Eb to minimize the area between these two curves.

I have tried integrating both the curvesbetween k=0 and k=pi/dx, and differentiating with respect to Eb and equating it to 0. This does not work.
I also thought about integrating (summing) the distance between the two curves, bu that results in the case above.

Do I need to put a constraint function?

Please feel free to ask if any clarification is needed. I have tried to simply my case, and that may have resulted in some ambiguities.

Thank you