Integrating an Ellipse: Calculating the Width of a Melding Pillar and Roof

  • Context: Graduate 
  • Thread starter Thread starter Mamed
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary

Discussion Overview

The discussion revolves around the integration of an ellipse, specifically focusing on calculating the width of a melding pillar and roof. Participants explore the mathematical challenges associated with elliptic integrals and their implementation in MATLAB, as well as substitution methods for integration.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant seeks to estimate the integral of an ellipse and expresses confusion over the results obtained from an online integral calculator.
  • Another participant notes that elliptic integrals are classified as special functions and cannot be expressed in terms of elementary functions.
  • A participant questions whether numerical methods are necessary for solving the integral in MATLAB and compares it to the simpler case of a circle.
  • It is mentioned that MATLAB has a built-in function, 'ellipke', for handling elliptic integrals.
  • One participant discusses potential mistakes in their substitution process for the ellipse equation and seeks clarification on whether to include the differential when substituting variables.
  • Another participant reiterates the substitution method and expresses uncertainty about their integration approach, detailing their goal of calculating the width of a pillar as it melds with the roof.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the integration of elliptic functions and substitution methods. There is no consensus on the correct approach to the integration problem, and multiple viewpoints on the necessity of numerical methods and the handling of substitutions are present.

Contextual Notes

Participants mention the complexity of elliptic integrals and the potential for mistakes in substitution, indicating that the discussion may involve unresolved mathematical steps and assumptions about the integration process.

Mamed
Messages
17
Reaction score
0
Hi

Im trying to estimate a semicircle or ellips of a kind with an integral.
And right now I'm trying to get the integral of a ellips.

I need to integrate the equation


x(\theta) = \int_0^{\pi/2} \frac {d\theta}{a\sqrt{1-sin^2(\theta)/b^2}}

I tried http://integrals.wolfram.com/index.jsp?expr=1/sqrt(1-sin^2(x)/b^2)&random=false" but i don't understand the result or how to integrate the result.

Thanks for any help
 
Last edited by a moderator:
Physics news on Phys.org
That's one of the reasons elliptic integrals are called <special functions>, because they can't be written in terms of 'elementary' functions, such as polynomials, sin, cos, e^x, ln, sinh, cosh, ...The perimeter of an ellipse is an elliptic integral.
 
so there is no way for me to just but in the boundaries? i want to implement this in a MATLAB function, later on does it mean that i have to use a nummerical method to solve it then?

and what do you do if you if you have a circle is that also impossible to solve? because the only difference is the a and b constants.
 
The special function you want is already implemented in Matlab. It's called ellipke in Matlab.
 
The circle is ok. It's a standard integral solvable by a substitution.
 
I think i might have made a mistake when substituting.

I have
<br /> <br /> \frac{x^2}{a^2}+\frac{y^2}{b^2} = 1<br /> <br />

And i substitute by

<br /> y = sin(\theta)<br /> x = cos(\theta)<br />


So when i do the substitution should i include that dy = cos(\theta)d\theta or can i just substitute
<br /> x = \sqrt{a^2 + \frac{a^2}{b^2}y^2} → \sqrt{a^2 + \frac{a^2}{b^2}sin(\theta)^2}<br />

and then integrate as x = \int_0^b\frac{dy}{f(y)} or am i doing some big mistakes?
 
I think i might have made a mistake when substituting.

I have
<br /> <br /> \frac{x^2}{a^2}+\frac{y^2}{b^2} = 1<br /> <br />

And i substitute by

<br /> y = sin(\theta)<br /> x = cos(\theta)<br />


So when i do the substitution should i include that dy = cos(\theta)d\theta or can i just substitute
<br /> x = \sqrt{a^2 + \frac{a^2}{b^2}y^2} → \sqrt{a^2 + \frac{a^2}{b^2}sin(\theta)^2}<br />

and then integrate as g = \int_0^b\frac{dy}{c-f(y)}

where c is a fixed length and f(y) is the function x. or am i doing some big mistakes?


What i want to do is calculate the width of a pillar at the top as it is melding together with the roof. I assume that the arc is in the form of an ellipse so i have

c = the length of the pillar at the top.
b = the length between when the pillar starts curving to the roof
a = c - half of the pillar length

g = c - x(y)

and then integrate as 1/g.

and then multiple by to get the other side.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
20K
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
4
Views
1K
Replies
1
Views
2K