What if we integrate wrt to y instead of x

  • Thread starter semc
  • Start date
  • Tags
    Integrate
In summary, the conversation discusses integration with respect to different variables. It is mentioned that integrating x with respect to x will result in (x^2)/2, but the process for integrating x with respect to y is also explained. If x is a constant, the integral is just xy, but if x depends on y, it must be written out and integrated as usual.
  • #1
semc
368
5
Hi guys, i was doing some math qn and i found out that i am always integrating like x wrt x so u will get (x^2)/2 right? So i was wondering how do u like say integrate x wrt y?
 
Physics news on Phys.org
  • #2
If x is a constant with respect to y, then the integral of x with respect to y is just xy (just like the integral of c with respect to y is cy when c is a constant). Otherwise, if x depends on y (ie, x=x(y)), then write out x in terms of y and do the integral as usual.
 
  • #3
alright got it thx
 
Back
Top