Gravitational Lensing by a Point Mass

Light rays from a source passing a mass are bent due to the gravity of the mass causing the observed image to change in both shape and size. This effect is called gravitational lensing and, among other applications, is used to infer the mass of the lens. This Demonstration displays the image created by a point mass lens. The original source is a disk at a fixed distance of light years from the observer.
The observed image depends on the mass of the lens, the distance between the observer and the lens, the size of the source, and the position of the source relative to the lens.
A light ray observed to be at an angle from the lens is deflected by the angle :
where is the gravitational constant and is the speed of light.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Gravitational lensing was first predicted by Albert Einstein's general theory of relativity and confirms that gravity changes the shape of spacetime, causing light rays to be bent. Strong lensing creates multiple images from a source. A lens that is axially symmetric will create an image of a ring, called the Einstein ring, when the source is directly behind the lens. The first observation of a lensing effect with the Sun as the lens was in 1919 [1] and the first lensing event by a galaxy was observed in 1979 [2].
For further reading see:
[1] F. W. Dyson, A. S. Eddington, and C. Davidson, "A Determination of the Deflection of Light by the Sun's Gravitational Field, from Observations Made at the Total Eclipse of May 29, 1919," Philosophical Transactions of the Royal Society of London, 220, 1920 pp. 291–333.

[2] D. Walsh, R. F. Carswell, and R. J. Weymann, "0957 + 561 A, B—Twin Quasistellar Objects or Gravitational Lens," Nature, 279, 1979 pp. 381-384.

[3] R. Narayan and M. Bartelmann, "Lectures on Gravitational Lensing," 1996.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+